package com.ruoyi.web.controller.TiebaPostCollectGuanzhu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 帖子关注收藏表对象 tieba_post_collect_guanzhu
 *
 * @author yong
 * @date 2025-04-11
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tieba_post_collect_guanzhu")
@ApiModel(value = "TiebaPostCollectGuanzhu", description = "帖子关注收藏表实体")
public class TiebaPostCollectGuanzhu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Long id;

    /** 帖子ID */
    @Excel(name = "帖子ID")
    @ApiModelProperty("帖子ID")
    private Long postId;

    /** 用户ID */
    @Excel(name = "用户ID")
    @ApiModelProperty("用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    @ApiModelProperty("部门ID")
    private Long deptId;

    /** 1表示关注，2表示收藏  */
    @Excel(name = "1表示关注，2表示收藏 ")
    @ApiModelProperty("1表示关注，2表示收藏 ")
    private Integer forumType;

    /** 删除标志（0表示未删除，1表示已删除） */
    @ApiModelProperty("删除标志（0表示未删除，1表示已删除）")
    private Integer delFlag;

}
